]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
6 years agotheme: Move .world-clocks-button before .weather-button
nana-4 [Thu, 6 Feb 2020 13:15:19 +0000 (22:15 +0900)]
theme: Move .world-clocks-button before .weather-button

As per the layout.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/calendar: Don't nest all card styles for code consistency
nana-4 [Thu, 6 Feb 2020 13:08:33 +0000 (22:08 +0900)]
theme/calendar: Don't nest all card styles for code consistency

The inconsistent styling rules "some card styles are nested, but some
are not" and "some card styles are nested, but some of their descendant
styles are defined elsewhere" are very confusing.

This commit stops nesting all card styles to make the coding style
consistent and less confusing.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Adjust calendar popover sizing
nana-4 [Thu, 6 Feb 2020 12:42:13 +0000 (21:42 +0900)]
theme: Adjust calendar popover sizing

- Remove bottom blank space on the right column of the calendar popover
  so that the weather card is bottom-aligned with the clear button on
  the left column.
- Remove top blank space on the left column of the calendar popover so
  that the message list is top-aligned with the today button on the
  right column.
- Adjust .message-list-controls sizing to align with other card-styled
  elements.
- Use regular `spacing` instead of margin for some spacing.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088
Closes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2120

6 years agotheme: Simplify .message styling
nana-4 [Tue, 4 Feb 2020 16:15:27 +0000 (01:15 +0900)]
theme: Simplify .message styling

- Use fewer properties for layout.
- Use .message-body instead of .message-content to change the body
  color, and remove some color overrides.
- Fix border-radius for last .message-media-control, not only on hover.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Reorder selectors in .message
nana-4 [Tue, 4 Feb 2020 16:08:20 +0000 (01:08 +0900)]
theme: Reorder selectors in .message

The order was messed up when the recent Sass reorganization.
This reorders the selectors in .message to make sense again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/notifications: Remove some duplicate or pointless styling
nana-4 [Tue, 4 Feb 2020 16:07:55 +0000 (01:07 +0900)]
theme/notifications: Remove some duplicate or pointless styling

Those styles are defined in .message and do not need to be overridden in
.notification-banner.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme/notifications: Remove some unused style classes
nana-4 [Tue, 4 Feb 2020 16:07:04 +0000 (01:07 +0900)]
theme/notifications: Remove some unused style classes

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Apply spacing to .overview-icon-with-label correctly
nana-4 [Tue, 4 Feb 2020 16:03:05 +0000 (01:03 +0900)]
theme: Apply spacing to .overview-icon-with-label correctly

- Remove margin-bottom for StIcon, which is not only ineffective, but
  also created a bug in app folders.
- Remove ">" which is invalid for overview icons that are not app
  folders.
- Apply spacing to the correct target "StBoxLayout", not the parent
  .overview-icon.overview-icon-with-label.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/2129

6 years agotheme/search-results: Use spacing instead of margin or padding
nana-4 [Sat, 25 Jan 2020 09:58:33 +0000 (18:58 +0900)]
theme/search-results: Use spacing instead of margin or padding

Those margin and padding broke spacing in RTL layout. We should use
regular `spacing` for them as before the refactoring.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Simplify .search-section-content items styling
nana-4 [Sat, 25 Jan 2020 09:11:28 +0000 (18:11 +0900)]
theme: Simplify .search-section-content items styling

This reduces duplicate code in .search-provider-icon and
.list-search-result by using %search-section-content-item
to improve maintainability.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Simplify .overview-icon styling
nana-4 [Sat, 25 Jan 2020 08:53:17 +0000 (17:53 +0900)]
theme: Simplify .overview-icon styling

This reduces duplicate code by using overview-icon() and %app-well-app
to improve maintainability.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Add interactive styling to .events-section-title again
nana-4 [Sat, 25 Jan 2020 04:13:20 +0000 (13:13 +0900)]
theme: Add interactive styling to .events-section-title again

Since it's an interactive element, interactive styling is still needed.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088

6 years agotheme: Make %notification_bubble a mixin
nana-4 [Sat, 25 Jan 2020 03:15:54 +0000 (12:15 +0900)]
theme: Make %notification_bubble a mixin

And simplify .datemenu-today-button styling by using it.

This allows removing duplicate code for flat notification_bubble
styling.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Remove unnecessary !important rules
nana-4 [Sat, 25 Jan 2020 02:37:16 +0000 (11:37 +0900)]
theme: Remove unnecessary !important rules

Using !important is a bad practice and should be avoided wherever
possible to make styling and debugging easier. See:

https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#The_!important_exception

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotheme: Remove some unsupported CSS properties
nana-4 [Sat, 25 Jan 2020 01:11:14 +0000 (10:11 +0900)]
theme: Remove some unsupported CSS properties

CSS opacity and border-{top,bottom}-{left,right}-radius are not
supported by St.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/957

6 years agotexture-cache: Fix invalid reads when storing used resource scales
Sebastian Keller [Mon, 3 Feb 2020 00:06:14 +0000 (01:06 +0100)]
texture-cache: Fix invalid reads when storing used resource scales

The used_scales hash table uses g_double_hash and g_double_equal which
try to read a double from the passed pointers. The pointers however were
pointing to a float, leading to an invalid read.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/974

6 years agoextensionPrefs: Remove stray > in .ui file
Florian Müllner [Thu, 6 Feb 2020 19:03:35 +0000 (20:03 +0100)]
extensionPrefs: Remove stray > in .ui file

This slipped through as GtkBuilder still accepts it, but let's
not rely on that and fix our XML.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2180

6 years agoextensionPrefs: Make the Log Out button a proper verb
Piotr Drąg [Wed, 5 Feb 2020 19:43:59 +0000 (20:43 +0100)]
extensionPrefs: Make the Log Out button a proper verb

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/981

6 years agoappDisplay: Disable swipe tracker during swarm animation
Alexander Mikhaylenko [Wed, 5 Feb 2020 19:59:38 +0000 (00:59 +0500)]
appDisplay: Disable swipe tracker during swarm animation

Eensures it resets when an animation starts.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177

6 years agoswipeTracker: Reset scroll gesture state on disabling
Alexander Mikhaylenko [Wed, 5 Feb 2020 19:51:45 +0000 (00:51 +0500)]
swipeTracker: Reset scroll gesture state on disabling

Ensure that scrolling works correctly next time it's enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177

6 years agoportalHelper: Enable WebKit sandbox if available
Michael Catanzaro [Wed, 5 Feb 2020 22:18:11 +0000 (22:18 +0000)]
portalHelper: Enable WebKit sandbox if available

The portal helper is rather sensitive because potentially-hostile Wi-Fi
networks can decide to launch it whenever they want (by blocking the
user's connection to the nmcheck domain) and load whatever web content
they want into it. So having this unsandboxed is really extraordinarily
risky. Previously it was a risk we had to accept, because WebKit did not
have a web process sandbox, but now it does. So let's bubblewrap all the
things!

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/983

6 years agotheme: revert app grid button styling
Jakub Steiner [Wed, 5 Feb 2020 16:30:42 +0000 (17:30 +0100)]
theme: revert app grid button styling

- the plan was to drop the frequent/all view switcher, thus sam didn't
  pay too much attention to the button styling for those. Sadly the view
  switcher remains, so we should keep the old subtle styling intact.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/979

6 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 6 Feb 2020 10:39:36 +0000 (11:39 +0100)]
Updated Spanish translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Wed, 5 Feb 2020 20:49:34 +0000 (22:49 +0200)]
Updated Lithuanian translation

6 years agoextensionPrefs: Add a translator comment to the .desktop file
Piotr Drąg [Wed, 5 Feb 2020 19:38:29 +0000 (20:38 +0100)]
extensionPrefs: Add a translator comment to the .desktop file

So that Damned Lies filters out the Icon key from translation.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/980

6 years agoUpdate POTFILES.in
Piotr Drąg [Wed, 5 Feb 2020 19:31:50 +0000 (20:31 +0100)]
Update POTFILES.in

6 years agoUpdate Swedish translation
Anders Jonsson [Wed, 5 Feb 2020 17:25:53 +0000 (17:25 +0000)]
Update Swedish translation

6 years agomagnifier: Use core idletime monitor
Carlos Garnacho [Wed, 5 Feb 2020 15:49:34 +0000 (16:49 +0100)]
magnifier: Use core idletime monitor

As it's getting the idletime monitor for the seat pointer, boils
down to about the same thing. We are moving away from per-device
idletime monitors though.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/978

6 years agoUpdate Indonesian translation
Kukuh Syafaat [Wed, 5 Feb 2020 11:33:09 +0000 (11:33 +0000)]
Update Indonesian translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Feb 2020 10:17:28 +0000 (11:17 +0100)]
Updated Spanish translation

6 years agoextensionPrefs: Fix typo
Florian Müllner [Tue, 4 Feb 2020 17:51:57 +0000 (18:51 +0100)]
extensionPrefs: Fix typo

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2176

6 years agostatus/system: Fix session submenu visibility
Florian Müllner [Tue, 4 Feb 2020 01:35:43 +0000 (02:35 +0100)]
status/system: Fix session submenu visibility

Commit 147a743d8d7 moved the suspend and power-off actions into
the submenu that contains the log-out and switch-user actions,
but did not update the submenu visibility logic to account for
the additional actions.

As a result, the submenu is hidden when log-out and switch-user
are unavailable (like on the login screen), even if suspend and
power-off are enabled.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2169

6 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 4 Feb 2020 11:32:50 +0000 (12:32 +0100)]
Updated Spanish translation

6 years agoUpdate Slovak translation
Dušan Kazik [Tue, 4 Feb 2020 10:02:46 +0000 (10:02 +0000)]
Update Slovak translation

6 years agoextensionPrefs: Schedule updates check on activate
Florian Müllner [Sun, 26 Jan 2020 23:47:18 +0000 (00:47 +0100)]
extensionPrefs: Schedule updates check on activate

While gnome-shell will now check for extension updates, the checks
are performed infrequently. Opening the Extensions app implies that
the user's current focus is on extensions, so it is an appropriate
time to schedule another updates check.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionSystem: Periodically check for extension updates
Florian Müllner [Sun, 26 Jan 2020 23:59:19 +0000 (00:59 +0100)]
extensionSystem: Periodically check for extension updates

Now that we can download, apply and display extension updates, it is time
to actually check for updates. Schedule an update check right on startup,
then every 24 hours.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionSystem: Show notification when updates are available
Florian Müllner [Sun, 26 Jan 2020 22:47:24 +0000 (23:47 +0100)]
extensionSystem: Show notification when updates are available

Now that the extensions app has the ability to handle updates, we
can use it as source of updates notifications.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Support extension updates
Florian Müllner [Sat, 30 Nov 2019 14:20:04 +0000 (15:20 +0100)]
extensionPrefs: Support extension updates

Now that we have support for extension updates in the shell, we
need some place to display the updates to the user.

As we are establishing the Extensions app as the primary way for
managing extensions, it's a natural place for that functionality.

Show which extensions have updates available, and offer a log out
button (so gnome-shell can apply the updates when logging back in).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Split user and system extensions
Florian Müllner [Sat, 30 Nov 2019 07:08:05 +0000 (08:08 +0100)]
extensionPrefs: Split user and system extensions

Until now, it didn't matter whether an extension was installed in the
user's home or system-wide. However with support for uninstallation,
there is now a significant different, as that action is only available
for user extensions.

Account for that by separating extensions by type, so that users don't
have to second-guess which extensions can be fully-managed and which
appear as part of the system.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Support uninstalling user extensions
Florian Müllner [Sat, 30 Nov 2019 05:06:08 +0000 (06:06 +0100)]
extensionPrefs: Support uninstalling user extensions

This is functionality currently provided by GNOME Software, and
which the new Extensions app should (and easily can) provide.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Include more extension details in expander
Florian Müllner [Sat, 30 Nov 2019 17:11:03 +0000 (18:11 +0100)]
extensionPrefs: Include more extension details in expander

The newly added expander gives us a place where we can display
more details without cluttering the interface.

Take advantage of that by including the extension website, version
and author.

(Author is in the mockups, but will not actually be shown until
the extensions website is changed to include it in its metadata;
however best to have UI and string in place for the freezes)

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Move description into a expander
Florian Müllner [Fri, 24 Jan 2020 01:02:10 +0000 (02:02 +0100)]
extensionPrefs: Move description into a expander

The description can be useful information, but also increases the
visual complexity of the extensions list. Move it into a hidden
details area that can be expanded, which unclutters the interface
while keeping the information readily available.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Use actions for row controls
Florian Müllner [Sat, 30 Nov 2019 03:24:39 +0000 (04:24 +0100)]
extensionPrefs: Use actions for row controls

Actions are another mean to separate state and interactions from
the UI. Start using them for the existing controls before adding
more in follow-up commits.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Use template for rows
Florian Müllner [Sat, 30 Nov 2019 03:12:54 +0000 (04:12 +0100)]
extensionPrefs: Use template for rows

Rows are already complex enough to justify a template, and we are
about to add more.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Use a single line for description
Florian Müllner [Sat, 30 Nov 2019 02:33:27 +0000 (03:33 +0100)]
extensionPrefs: Use a single line for description

The current fixed two-line label requires a custom widget, which
make moving to a widget template harder.

As the description will soon move elsewhere anyway, just go back
to a single line with a standard label for now.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Rename to Extensions
Florian Müllner [Fri, 24 Jan 2020 16:00:24 +0000 (17:00 +0100)]
extensionPrefs: Rename to Extensions

... and make the application user-visible.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Add standard app elements
Florian Müllner [Sat, 30 Nov 2019 05:51:35 +0000 (06:51 +0100)]
extensionPrefs: Add standard app elements

In order to turn the extensions-prefs tool into a proper GNOME app, it
should follow basic app patterns, so add a primary menu and about dialog.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Add info popover to headerbar
Florian Müllner [Fri, 24 Jan 2020 18:00:37 +0000 (19:00 +0100)]
extensionPrefs: Add info popover to headerbar

Extensions can have a major impact on stability and performance. Now that
the tool will become the main way for users to manage their extensions, it
is an appropriate place to warn the user of that risk.

Add a small info popover to the headerbar to display that warning, together
with the previously removed hint of where to go for finding new extensions.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Add application icon
Florian Müllner [Fri, 24 Jan 2020 17:09:34 +0000 (18:09 +0100)]
extensionPrefs: Add application icon

We are about to make the tool a user-visible application, so we
need an icon. Add one (plus its symbolic variant).

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Scroll with key focus
Florian Müllner [Thu, 30 Jan 2020 00:28:02 +0000 (01:28 +0100)]
extensionPrefs: Scroll with key focus

Currently when the extensions list is scrolled, it is possible to
keynav out of view, as the scrolling doesn't follow the key focus.

Hook up the adjustment to fix that.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Don't fill view
Florian Müllner [Sat, 30 Nov 2019 06:27:48 +0000 (07:27 +0100)]
extensionPrefs: Don't fill view

Extension rows contain both name/description and controls to
open preferences and enable/disable the extension. Those
elements become disassociated when the row expands too much
horizontally, so instead of filling the entire view, switch
to the embedded list style[0].

[0] https://developer.gnome.org/hig/stable/lists.html.en

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Use template for ExtensionsWindow
Florian Müllner [Sat, 30 Nov 2019 01:48:18 +0000 (02:48 +0100)]
extensionPrefs: Use template for ExtensionsWindow

As the window will become more complex, it makes sense to let GtkBuilder
construct the UI and focus on the actual implementation.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Split out window class
Florian Müllner [Sat, 30 Nov 2019 01:48:18 +0000 (02:48 +0100)]
extensionPrefs: Split out window class

Currently the main window is a plain Gtk.ApplicationWindow that is
built and managed from within the application.

As the application becomes more complex, it makes sense to decouple
the two and handle the window from a separate ExtensionsWindow class.

Not least this is a prerequisite of using a widget template for the
window.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agoextensionPrefs: Simplify empty placeholder
Florian Müllner [Sat, 30 Nov 2019 00:23:35 +0000 (01:23 +0100)]
extensionPrefs: Simplify empty placeholder

GNOME Software will remove its extension support, so we should stop
referencing it in addition to extensions.gnome.org.

In fact, the placeholder is not the best place to hint at where new
extensions can be found, as the user will never see it in case the
distribution includes pre-installed extensions.

So remove the hint altogether, we will add it back in a more prominent
place later.

With the whole placeholder now being much lighter, we can stop dimming
the remaining elements.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1968

6 years agotheme: Tweak app folder style
Florian Müllner [Sun, 2 Feb 2020 14:35:35 +0000 (15:35 +0100)]
theme: Tweak app folder style

 - match dash border/radius
 - hide scrollbar
 - increase title padding

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/973

6 years agoUpdate Croatian translation
Goran Vidović [Mon, 3 Feb 2020 14:03:08 +0000 (14:03 +0000)]
Update Croatian translation

6 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 3 Feb 2020 11:15:54 +0000 (12:15 +0100)]
Updated Spanish translation

6 years agoUpdate Slovak translation
Dušan Kazik [Sun, 2 Feb 2020 20:34:09 +0000 (20:34 +0000)]
Update Slovak translation

6 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 2 Feb 2020 20:10:30 +0000 (22:10 +0200)]
Updated Lithuanian translation

6 years agoUpdate Swedish translation
Anders Jonsson [Sun, 2 Feb 2020 14:55:45 +0000 (14:55 +0000)]
Update Swedish translation

6 years agoUpdate Slovak translation
Dušan Kazik [Sat, 1 Feb 2020 23:06:01 +0000 (23:06 +0000)]
Update Slovak translation

6 years agodialogs: Hide caps lock warning if password entry is hidden
Jonas Dreßler [Thu, 30 Jan 2020 10:27:25 +0000 (11:27 +0100)]
dialogs: Hide caps lock warning if password entry is hidden

If all password entries in dialogs are hidden, there is either an entry
that has visible characters or no entry at all. That means we don't have
to show the caps lock warning at all, so hide it.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agowindowManager: Use shorter string for dialog headline
Jonas Dreßler [Tue, 21 Jan 2020 09:24:50 +0000 (10:24 +0100)]
windowManager: Use shorter string for dialog headline

Since the headlines of the dialogs now use a much larger font, the
strings need to be shorter so they won't be ellipsized.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agonetworkAgent: Use shorter title strings
Jonas Dreßler [Tue, 21 Jan 2020 09:27:36 +0000 (10:27 +0100)]
networkAgent: Use shorter title strings

Since the headlines of the dialogs now use a much larger font, the
strings need to be shorter so they won't be ellipsized. So use a shorter
strings for those titles and also adjust the title-strings of the
notifications sent by the NetworkAgent to be consistent.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agonetworkAgent: Implement new dialog design
Jonas Dreßler [Tue, 21 Jan 2020 09:27:03 +0000 (10:27 +0100)]
networkAgent: Implement new dialog design

Use a completely vertical layout instead of the ClutterGridLayout based
layout to implement the new design for dialogs in the shell:

- Center-align all the elements of the dialog
- Remove the work-spinner
- Show the entry-labels as hint text of the entry

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agowindowManager: Cleanup dialog a bit
Jonas Dreßler [Sun, 8 Dec 2019 12:10:16 +0000 (13:10 +0100)]
windowManager: Cleanup dialog a bit

This doesn't have to be a prompt-dialog, so remove the css class, also
the MessageDialogContent doesn't need the x and y_expand properties, so
remove those, too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agoshellMountOperation: Use wiggle effect to inform about wrong password
Jonas Dreßler [Tue, 21 Jan 2020 09:39:33 +0000 (10:39 +0100)]
shellMountOperation: Use wiggle effect to inform about wrong password

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agoshellMountOperation: Implement new dialog design
Jonas Dreßler [Sun, 8 Dec 2019 12:08:13 +0000 (13:08 +0100)]
shellMountOperation: Implement new dialog design

Update the layout of the ShellMountPasswordDialog dialog according to
the new dialog design:

- Center-align all the elements of the dialog
- Align the work-spinner to the right (or left with RTL layouts) of the
password entry
- Show the entry-labels as hint text of the entry

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agokeyring: Use wiggle effect to inform about new warning message
Jonas Dreßler [Mon, 20 Jan 2020 16:42:09 +0000 (17:42 +0100)]
keyring: Use wiggle effect to inform about new warning message

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agokeyring: Implement new dialog design
Jonas Dreßler [Mon, 20 Jan 2020 16:40:25 +0000 (17:40 +0100)]
keyring: Implement new dialog design

Replace the ClutterGridLayout of the keyring dialog with a vertical
StBoxLayout based layout according to the new dialog design:

- Center-align all the elements of the dialog
- Remove the work-spinner because requests usually finish fast enough
- Show the entry-labels as hint text of the entry

See https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agopolkitAgent: Use wiggle effect to inform about wrong password or problem
Jonas Dreßler [Mon, 20 Jan 2020 13:56:04 +0000 (14:56 +0100)]
polkitAgent: Use wiggle effect to inform about wrong password or problem

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agopolkitAgent: Implement new design for polkit dialog
Jonas Dreßler [Mon, 20 Jan 2020 13:55:24 +0000 (14:55 +0100)]
polkitAgent: Implement new design for polkit dialog

Implement the new design for the polkit according to the mockups in
https://gitlab.gnome.org/GNOME/gnome-shell/issues/1343:

- Center-align all the parts of the dialog
- Use a larger user avatar
- Remove the work-spinner because requests usually finish fast enough
- Show the entry-labels as hint text of the entry

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agotheme/dialogs: Clean up css a bit
Jonas Dreßler [Tue, 21 Jan 2020 10:32:24 +0000 (11:32 +0100)]
theme/dialogs: Clean up css a bit

Remove some unused classes and "deduplicate" selectors.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agoutil: Move wiggle parameters to a common place
Jonas Dreßler [Tue, 21 Jan 2020 09:32:59 +0000 (10:32 +0100)]
util: Move wiggle parameters to a common place

Since the wiggle effect will be used by the redesigned prompt-dialogs
and we always want to use the same parameters, move those as defaults
for the wiggle function to the util.js file.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

6 years agost/theme-node: Support "auto" in lengths
Florian Müllner [Fri, 31 Jan 2020 16:56:40 +0000 (17:56 +0100)]
st/theme-node: Support "auto" in lengths

This allows resetting a fixed size to the default in a more specific
selector.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/971

6 years agoportalHelper: Require GTK 3.0
Florian Müllner [Fri, 31 Jan 2020 08:23:48 +0000 (09:23 +0100)]
portalHelper: Require GTK 3.0

When multiple versions of a typelib are available, GI will pick the
highest one unless an explicit version is requested. So as GTK 4.0
is becoming a thing, it's time to do that.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970

6 years agojs: Initialize some properties
Florian Müllner [Wed, 29 Jan 2020 16:48:57 +0000 (17:48 +0100)]
js: Initialize some properties

Otherwise those can result in the (harmless) "reference to undefined
property" warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970

6 years agoUpdate Karbi translation
Jor Teron [Fri, 31 Jan 2020 10:50:28 +0000 (10:50 +0000)]
Update Karbi translation

6 years agoUpdate Karbi translation
Jor Teron [Fri, 31 Jan 2020 10:34:11 +0000 (10:34 +0000)]
Update Karbi translation

(cherry picked from commit a8bb7c0a2a91d4f597b0f554c0bd8c6edc4a7790)

6 years agoshellEntry: Use seat to retrieve keymap
Georges Basile Stavracas Neto [Thu, 30 Jan 2020 18:57:12 +0000 (15:57 -0300)]
shellEntry: Use seat to retrieve keymap

The backend does not handle the keymap anymore; this is now
handled by ClutterSeat.

Use ClutterSeat to retrieve the default keymap.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/968

6 years agomagnifier: Adapt to idle monitors API change
Carlos Garnacho [Wed, 9 Oct 2019 15:05:29 +0000 (17:05 +0200)]
magnifier: Adapt to idle monitors API change

It takes Clutter input devices now, not device IDs.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agodnd: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:37:25 +0000 (12:37 +0200)]
dnd: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agolookingGlass: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:37:15 +0000 (12:37 +0200)]
lookingGlass: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agopadOsd: Use ClutterSeat to fetch devices
Carlos Garnacho [Sat, 5 Oct 2019 10:36:52 +0000 (12:36 +0200)]
padOsd: Use ClutterSeat to fetch devices

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agoui: Use ClutterSeat for keyboard/pointer a11y
Carlos Garnacho [Sat, 5 Oct 2019 10:35:21 +0000 (12:35 +0200)]
ui: Use ClutterSeat for keyboard/pointer a11y

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agokeyboard: Update to ::last-device-changed parameter change
Carlos Garnacho [Sat, 5 Oct 2019 10:34:07 +0000 (12:34 +0200)]
keyboard: Update to ::last-device-changed parameter change

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agost: Use ClutterSeat to get pointer device
Carlos Garnacho [Sat, 5 Oct 2019 10:32:40 +0000 (12:32 +0200)]
st: Use ClutterSeat to get pointer device

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agoshell: Use ClutterSeat to get pointer device
Carlos Garnacho [Sat, 5 Oct 2019 10:32:03 +0000 (12:32 +0200)]
shell: Use ClutterSeat to get pointer device

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/760

6 years agocheckbox: Correctly align label
Jonas Dreßler [Thu, 30 Jan 2020 14:26:32 +0000 (15:26 +0100)]
checkbox: Correctly align label

The label needs to be center-aligned vertically so it's positioned in
the middle of the surrounding box, not at the top.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/967

6 years agoshellEntry: Hide caps lock warning and use animation to show it
Jonas Dreßler [Thu, 23 Jan 2020 21:36:09 +0000 (22:36 +0100)]
shellEntry: Hide caps lock warning and use animation to show it

Since the caps-lock warning adds a lot of spacing to dialogs and the
lock screen, hide it by default and only show it when necessary. To make
the transition smooth instead of just showing the label, animate it in
using the height and opacity.

Also add some bottom padding to the label so we can show or hide that
padding, too.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agopolkitAgent: Remove styleClass argument for caps lock warning
Jonas Dreßler [Thu, 23 Jan 2020 22:25:38 +0000 (23:25 +0100)]
polkitAgent: Remove styleClass argument for caps lock warning

The caps lock warning now has its own css class that works for this
case, too. Remove the custom class parameter and just use the default
one.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agotheme: Move caps-lock warning to entry widget stylesheet
Jonas Dreßler [Thu, 23 Jan 2020 22:26:45 +0000 (23:26 +0100)]
theme: Move caps-lock warning to entry widget stylesheet

The caps-lock warning is more related to entries than dialogs and is
also used in gdm, which is not realated to dialogs at all. Rename the
css class to caps-lock-warning-label and move it to the entry
stylesheet.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agoshellEntry: Make signal id variable private
Jonas Dreßler [Thu, 23 Jan 2020 21:37:06 +0000 (22:37 +0100)]
shellEntry: Make signal id variable private

Signal connection IDs should be private variables, so make this one
private.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/952

6 years agoanimation: Scale animation actor for HiDPI
Daniel García Moreno [Fri, 17 Jan 2020 09:12:52 +0000 (10:12 +0100)]
animation: Scale animation actor for HiDPI

The Animation class inherits from St.Bin and manages the scale factor
in the image loading, but the widget size doesn't change and doesn't
depend on the scale factor so when the scale factor is different
from 1 the widget size doesn't match the image size.

This patch resizes the Animation widget using the scale factor so the
widget will match the animation images sizes.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1746

6 years agoextensionSystem: Install pending updates on startup
Florian Müllner [Wed, 22 Jan 2020 14:09:05 +0000 (15:09 +0100)]
extensionSystem: Install pending updates on startup

Now that we have a way to check for updates and download them, we
should actually apply them as well. Do this on startup before any
extensions are initialized, to make sure we don't run into any
conflicts with a previously loaded version.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Include version validation in update check
Florian Müllner [Wed, 22 Jan 2020 15:53:32 +0000 (16:53 +0100)]
extensionDownloader: Include version validation in update check

The extensions website will consider the setting to find the best suitable
extension version, so we should transmit the parameter for better results.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Exclude extensions with pending updates from check
Florian Müllner [Mon, 27 Jan 2020 00:13:49 +0000 (01:13 +0100)]
extensionDownloader: Exclude extensions with pending updates from check

While it is possible that an extension has a newer version available
than the previously downloaded update, it's more likely that we end up
downloading the same archive again. That would be a bit silly despite
the usually small size, so we can either use the metadata from the
update, or exclude the extension from the check.

The latter is much easier, so let's go with that for now.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Only check updates for user extensions
Florian Müllner [Wed, 22 Jan 2020 14:42:06 +0000 (15:42 +0100)]
extensionDownloader: Only check updates for user extensions

System extensions cannot be updated through the website, so don't
even try.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionDownloader: Make checkForUpdates() check for updates
Florian Müllner [Wed, 22 Jan 2020 14:07:45 +0000 (15:07 +0100)]
extensionDownloader: Make checkForUpdates() check for updates

Currently the method installs updates instead of merely checking for
them (or it would do, if it actually worked).

This is not just surprising considering the method name, the whole idea
of live updates is problematic and will not work properly more often
than not:
 - imports are cached, so any local modules will stay at their
   original version until a shell restart
 - GTypes cannot be unregistered

So change the method to only download available updates, and set the
extensions' hasUpdate state accordingly.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945

6 years agoextensionSystem: Add hasUpdate state
Florian Müllner [Wed, 22 Jan 2020 13:45:15 +0000 (14:45 +0100)]
extensionSystem: Add hasUpdate state

The current support for extension updates is half-baked at best.
We are about to change that, and implement offline updates similar
to gnome-software.

As a first step, add a hasUpdate property to the extension state
which will communicate available updates.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/945